projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1f8702
)
* lisp/help.el (help--analyze-key): Use `help-fns-function-name`
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 22 Mar 2024 01:43:38 +0000
(21:43 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Fri, 22 Mar 2024 01:44:04 +0000
(21:44 -0400)
lisp/help.el
patch
|
blob
|
history
diff --git
a/lisp/help.el
b/lisp/help.el
index 4171d0c57c7ee0c5636966dd3ae26b091161ed4c..bafe6032942ef75e712de611f4e800ab318142a7 100644
(file)
--- a/
lisp/help.el
+++ b/
lisp/help.el
@@
-926,7
+926,9
@@
in the selected window."
(let ((key-desc (help-key-description key untranslated)))
(if (help--binding-undefined-p defn)
(format "%s%s is undefined" key-desc mouse-msg)
- (format "%s%s runs the command %S" key-desc mouse-msg defn)))
+ (format "%s%s runs the command %s" key-desc mouse-msg
+ (if (symbolp defn) (prin1-to-string defn)
+ (help-fns-function-name defn)))))
defn event mouse-msg)))
(defun help--filter-info-list (info-list i)